package com.patterns.adapter.commonAdapter;

/**
 * Created by Xiao Yiyun on 2017/6/2.
 * 场景类
 */
public class Client {
    public static void main(String[] args) {
        //原有的业务逻辑
        Target target = new ConcreteTarget();
        target.request();
        //增加了适配器角色后的业务逻辑
        Target target1 = new Adapter();
        target1.request();
    }
}
